package com.mlk.deposit.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mlk.core.constants.Constant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author trekxu
 * @since 2019-06-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EngDeposit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 暂存点的名称
     */
    private String name;
    /**
     * 统一编码
     */
    private String code;
    /**
     * 暂存点的地址
     */
    private String address;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = Constant.DATE_TIME_FORMAT)
    private Date createTime;
    /**
     * 创建人
     */
    private String createName;

}
